﻿using System;
using System.Web.UI;
using BM.Tools.WebControls.MForm.Controls.Items;

namespace BM.Tools.WebControls.MForm.Example.Constraints
{
    public partial class ServiceConstraintWithSession : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Root1.NotifyToolbox();            
            Session["before"] = (Root1.SelectSingle("SomeBranch/MustBeMore") as LeafItem).Value;
            
        }        
    }
}
